package lab02.test14;

public class Circle extends Shape {
    private double radius;
    @Override
    double getArea() {
        return 3.14*radius*radius;
    }
    Circle(){}
    Circle(double radius){
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }
}
